package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.List;

@TableName("role_permission")
public class RolePermission {

  private Integer roleId;
  private String role;
  private String description;
  private Integer rolePermissionState;
  private String menuName;


  public RolePermission() {
  }

  public RolePermission(Integer roleId, String role, String description, Integer rolePermissionState, String menuName, List<String> menuId) {
    this.roleId = roleId;
    this.role = role;
    this.description = description;
    this.rolePermissionState = rolePermissionState;
    this.menuName = menuName;
  }

  /**
   * 获取
   * @return roleId
   */
  public Integer getRoleId() {
    return roleId;
  }

  /**
   * 设置
   * @param roleId
   */
  public void setRoleId(Integer roleId) {
    this.roleId = roleId;
  }

  /**
   * 获取
   * @return role
   */
  public String getRole() {
    return role;
  }

  /**
   * 设置
   * @param role
   */
  public void setRole(String role) {
    this.role = role;
  }

  /**
   * 获取
   * @return description
   */
  public String getDescription() {
    return description;
  }

  /**
   * 设置
   * @param description
   */
  public void setDescription(String description) {
    this.description = description;
  }

  /**
   * 获取
   * @return rolePermissionState
   */
  public Integer getRolePermissionState() {
    return rolePermissionState;
  }

  /**
   * 设置
   * @param rolePermissionState
   */
  public void setRolePermissionState(Integer rolePermissionState) {
    this.rolePermissionState = rolePermissionState;
  }

  /**
   * 获取
   * @return menuName
   */
  public String getMenuName() {
    return menuName;
  }

  /**
   * 设置
   * @param menuName
   */
  public void setMenuName(String menuName) {
    this.menuName = menuName;
  }


  public String toString() {
    return "RolePermission{roleId = " + roleId + ", role = " + role + ", description = " + description + ", rolePermissionState = " + rolePermissionState + ", menuName = " + menuName + "}";
  }
}
